added SSCLI 1.0
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / VBVSXSaveProject / Files / ProjectFileItem.vb
blob3c537a5b7a79fd8b63f62bdd719000bd4a133f44
1 '********************************* Module Header *********************************\
2 ' Module Name: ProjectFileItem.vb
3 ' Project : VBVSXSaveProject
4 ' Copyright (c) Microsoft Corporation
5 '
6 ' Get the project files information. the flag of both IsUnderProjectFolder and
7 ' Included are used to set the options about selected copy files item.
8 '
9 ' The source is subject to the Microsoft Public License.
10 ' See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
11 ' All other rights reserved
13 ' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
14 ' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
15 ' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
16 '***********************************************************************************
18 Imports System.IO
20 Namespace Files
21 Public Class ProjectFileItem
22 ''' <summary>
23 ''' The file information.
24 ''' </summary>
25 Public Property Fileinfo() As FileInfo
27 ''' <summary>
28 ''' File name.
29 ''' </summary>
30 Public ReadOnly Property FileName() As String
31 Get
32 Return Fileinfo.Name
33 End Get
34 End Property
36 ''' <summary>
37 ''' Full path of the file.
38 ''' </summary>
39 Public ReadOnly Property FullName() As String
40 Get
41 Return Fileinfo.FullName
42 End Get
43 End Property
45 ''' <summary>
46 ''' Specify whether the file is in project folder.
47 ''' </summary>
48 Public Property IsUnderProjectFolder() As Boolean
50 ''' <summary>
51 ''' Specify whether the file should be copied.
52 ''' </summary>
53 Public Property NeedCopy() As Boolean
54 End Class
55 End Namespace